package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.MonthlySettlements;
import com.youlai.boot.factory.model.form.MonthlySettlementsForm;

/**
 * 月度结算单对象转换器
 *
 * @author youlaitech
 * @since 2025-07-06 15:55
 */
@Mapper(componentModel = "spring")
public interface MonthlySettlementsConverter{

    MonthlySettlementsForm toForm(MonthlySettlements entity);

    MonthlySettlements toEntity(MonthlySettlementsForm formData);
}